<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:f="http://java.sun.com/jsf/core">
    <h:head>
        <title>Facelet Title</title>
    </h:head>
    <h:body>
        <ui:composition template="/templates/default.xhtml">
            <ui:define name="content">
                <h:form>
                    <h:panelGrid id="panelCourseInfo" columns="2" >
                        <f:facet name="header">
                            <h:outputText value="#{locale.formCourseInfoOutput}"/>
                        </f:facet>
                        <h:outputLabel value="#{locale.formCode}:" />
                        <h:outputText value="#{newCourse.newCourse.courseCode}" />

                        <h:outputLabel value="#{locale.formName}:" />
                        <h:outputText value="#{newCourse.newCourse.courseName}" />

                        <h:outputLabel value="#{locale.formLevel}:" />
                        <h:outputText value="#{newCourse.newCourse.courseLevel}" />

                        <h:outputLabel value="#{locale.formCredits}:" />
                        <h:outputText value="#{newCourse.newCourse.courseCredit}" />

                        <h:outputLabel value="#{locale.formCredOverlapReduction}:" />
                        <h:outputText value="#{newCourse.newCourse.credOverlapReduction}" />

                        <h:outputLabel value="#{locale.formSemester}:" />
                        <h:outputText value="#{newCourse.newCourse.semester}" />

                        <h:outputLabel value="#{locale.formTeachingLanguage}:" />
                        <h:outputText value="#{newCourse.newCourse.teachingLanguage}" />

                        <h:outputLabel value="#{locale.formPrerequisite}:" />
                        <h:outputText value="#{newCourse.newCourse.prerequisites}" />

                        <h:outputLabel value="#{locale.formContent}:" />
                        <h:outputText value="#{newCourse.newCourse.courseContent}" />

                        <h:outputLabel value="#{locale.formPedMethods}:" />
                        <h:outputText value="#{newCourse.newCourse.pedMethods}" />

                        <h:outputLabel value="#{locale.formAssessment}:" />
                        <h:outputText value="#{newCourse.newCourse.assessment}" />

                        <h:outputLabel value="#{locale.formGradingScale}:" />
                        <h:outputText value="#{newCourse.newCourse.gradingScale}" />

                        <h:outputLabel value="#{locale.formUseOfExaminers}:" />
                        <h:outputText value="#{newCourse.newCourse.useOfExaminers}" />

                        <h:outputLabel value="#{locale.formReqResitExam}:" />
                        <h:outputText value="#{newCourse.newCourse.reqResitExam}" />

                        <h:outputLabel value="#{locale.formExamAids}:" />
                        <h:outputText value="#{newCourse.newCourse.examAids}" />

                        <h:outputLabel value="#{locale.formMandetoryWorkReq}:" />
                        <h:outputText value="#{newCourse.newCourse.mandetoryWorkReq}" />

                        <h:outputLabel value="#{locale.formReadingList}:" />
                        <h:outputText value="#{newCourse.newCourse.readingList}" />

                        <h:outputLabel value="#{locale.formReplacesCourse}:" />
                        <h:outputText value="#{newCourse.newCourse.replacesCourse}" />

                        <h:outputLabel value="#{locale.formNotes}:" />
                        <h:outputText value="#{newCourse.newCourse.additionalNotes}" />

                        <h:outputLabel value="#{locale.formNotes}:" />
                        <h:outputText value="#{newCourse.newCourse.studyprogram.name}" />

                    </h:panelGrid>

                    <h:commandButton value="#{locale.buttonBack}" action="#{myCourses.navToMyCourses}" />
                </h:form>
            </ui:define>
        </ui:composition>
    </h:body>
</html>

